import request from '../utils/request'

export function tplSave(params) {
    return request({
        url: '/medical_record_tpl/tplSave',
        method: 'POST',
        params
    })
}


export function categoryIndex(params) {
    return request({
        url: '/medical_record_tpl/categoryIndex',
        method: 'GET',
        params
    })
}

export function tplIndex(params) {
    return request({
        url: '/medical_record_tpl/tplIndex',
        method: 'GET',
        params
    })
}


export function tplShow(params) {
    return request({
        url: '/medical_record_tpl/tplShow',
        method: 'GET',
        params
    })
}
//保存住院病历
export function addMemberMedical(params) {
    return request({
        url: '/hospitalization/addMemberMedical',
        method: 'POST',
        params
    })
}
//保存住院病历
export function getMemberMeicalDetail(params) {
    return request({
        url: '/hospitalization/getMemberMeicalDetail',
        method: 'get',
        params
    })
}